package com.app.designpattern.designprinciples.demeter

/**
 *
 * USER: zjw
 * DATA: 2019/4/4 0004
 * TIME: 下午 3:52
 */
class Ceo {
    fun commidLeaderCheckLanguageNumber(leader: Leader) {
        //ceo类不应该管不属于他朋友的类
        /*var list = ArrayList<Book>()
        for (i in 0..10) {
            list[i] = Book()
        }*/
        leader.checkNumber()
    }
}